﻿

public enum Protocol
{
    Online = 101,
    Offline = 102,

    ReqLogin = 1001,        //登录消息
    ReqRegister = 1002,     //注册消息
    ReqMatch = 1003,        //请求匹配游戏
    RspOtherJoin = 1004,        //他人进入游戏

    ReqReady = 2001,        //请求准备
    RspSendPais = 2002,     //开始发牌
    RspRobTurn = 2003,      //叫地主回合
    ReqRob = 2004,          //抢
    ReqNotRob = 2005,       //不抢
    RspLandlord = 2004,     //发地主牌

    RspPutTurn = 2006,      //出牌阶段
    ReqPutCard = 2007,      //请求出牌
    ReqPassCard = 2008,     //请求要不起

    RspGameOver = 3001,     //游戏结束
    ReqRestart = 3002,      //重新开始
    ReqQuit = 3003,		//退出游戏
}
